package com.wrk._1_语法._03_分支;

import java.util.Scanner;

public class _008_是奇数还是偶数 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入数据");
        //等待输入
        int number = scanner.nextInt();
        String result;
        //判断
        if (number%2==0){
            result ="偶数";
        }else {
            result ="奇数";
        }
        System.out.println(result);
        scanner.close();
    }
}
